Leat\Domain\Syncing\SyncVouchers A

Total Complexity 56
Dependencies 8
Dependents 4
Total lines 549
Lines of code 316
Logical lines of code 161
Comment lines 92
Methods 13
Properties 5

Methods 13

Method Rating Maintainability Complexity Lines of code
upsert_coupon_for_promotion_rule()
B
34 19 89
queue_vouchers_for_promotion()
S
44 4 50
handle_voucher_created_webhook()
S
52 5 26
handle_voucher_redeemed_webhook()
S
51 5 26
format_voucher_webhook()
S
58 5 15
start_sync()
S
52 4 24
handle_voucher_updated_webhook()
S
55 4 19
task()
S
49 3 32
handle_voucher_deleted_webhook()
S
61 2 12
sync_vouchers_to_woocommerce()
S
70 2 6
__construct()
S
71 1 6
init()
S
67 1 7
completed()
S
77 1 4